<div class="bjui-pageHeader">
        <form id="pagerForm" data-toggle="ajaxsearch" action="{url}" method="post">
                <input type="hidden" name="pageSize" value="{$numPerPage}" >
                <input type="hidden" name="pageCurrent" value="{$currentPage}">
                <input type="hidden" name="orderField" value="{$orderField}">
                <input type="hidden" name="orderDirection" value="{$orderDirection}">
        </form>

</div>

<div class="bjui-pageContent">
        <table data-toggle="tablefixed" data-width="100%" data-layout-h="0" data-nowrap="true">
                <thead>
                        <tr>

                                <th align="center">ID</th>
                                <th>咨询产品</th>
                                <th>客户姓名</th>
                                <th>联系方式</th>
                                <th>出游人数</th>
                                <th>咨询时间</th>
                                <th align='center'>状态</th>
                                <th>处理人</th>
                                <th>操作</th>
                        </tr>
                </thead>
                <tbody>
                        {neq name="list" value=''}
                        {volist name="list" id="vo"}
                        <tr>
                                <td align='center'>{$vo.m_id}</td>
                                <td><a href='{$vo.tours_url}' target="_blank">{$vo.title}</a><notempty name="vo.supplier_name"><span style="color:#05c;font-weight:bold;">[供：{$vo.supplier_name}]</span></notempty></td>
                <td>{$vo.line_name}</td>
                <td>{$vo.line_phone}</td>
                <td>{$vo.line_ren}</td>
                <td>{$vo.line_time|date="Y-m-d H:i:s",###}</td>                                        
                {switch name="vo.status"}
                {case value="0"}<td style="color:#F60; font-weight: 600;">新询单</td>{/case}
                {case value="1"}<td style="color:#06F;">已受理</td>{/case}
                {case value="2"}<td style="color:#CCC;">已取消</td>{/case}
                {/switch}
                <td>{$vo.mid|default="--"}</td>
                <td>
                        <a href="{:U('Sales/mobile_xun_detail?m_id='.$vo['m_id'])}" class="btn btn-green" data-height="400" data-toggle="dialog" data-mask='true' data-id="dialog-mask" data-title="查看订单">查看</a>
                </td>


                </tr>
                {/volist}
                {else /}
                <tr><td colspan="9" align="center">暂无记录</td></tr>
                {/neq}
                </tbody>
        </table>

</div>
<div class="bjui-pageFooter">
        <div class="pages">
                <span> 每页&nbsp;</span>
                <div class="selectPagesize">
                        <select data-toggle="selectpicker" data-toggle-change="changepagesize" class="show-tick" >
                                <option {eq name="numPerPage" value="20"} selected="selected" {/eq} value="20">20</option>
                                <option {eq name='numPerPage' value='40'} selected="selected" {/eq} value="40">40</option>
                                <option {eq name='numPerPage' value='120'} selected="selected" {/eq} value="120">120</option>
                                <option {eq name='numPerPage' value='150'} selected="selected" {/eq} value="150">150</option>
                        </select>
                </div>
                <span>&nbsp;条,共 {$totalCount} 条 </span>


        </div>
        <div class="pagination-box" data-toggle="pagination" data-total="{$totalCount}" data-page-size="{$numPerPage}" data-page-current="{$currentPage}">
        </div>
</div>


